Api.EnableRedundancy 方法

启用线缆冗余。EtherCAT 的最后一个从站连接到电脑上的另一个网路介面卡,此方法得以在主要缆线故障时,保障所有的从站能继续通讯。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsError EnableRedundancy(
       bool Active
)
Public Function EnableRedundancy(
       Active As Boolean
) As KsError

参数

Active

型别:bool

true:启用线缆冗余;false:停用线缆冗余。预设为 false

回传值

型别:KsError

方法的回传代码。

备注

可用的 EtherCAT 状态

ecatOffline

范例

C#
N/A

参见

Api 类别

IntervalZero.KINGSTAR.Local.Api 命名空间